import {lazy} from "solid-js";
import { Router, Route } from "@solidjs/router";
import { Home } from "../views/home/index";
import { About } from "../views/about";
// const About = lazy(() => import("../views/about/index"));
// console.log(About);
export function RouterMap(){
    return (
        <Router>
            <Route path="/" component={Home} />
            <Route path="/about" component={About} />
        </Router>
    )
}